#region Usings
using BK.BlusinessLogic;
using BK.Model;
using BK.Repositories.Abstract;

using Lib.Utils.WorkerUtils;
#endregion

namespace BK.Import
{
    [WorkerItem]
    public class BestExpensesWorkerItem :
        ExpensesBaseWorkerItem<BestExpense, BestExpensesFile, IBestExpensesFilesRepository, IBestExpensesRepository>
    {
        #region Instance Methods
        protected override BaseExpensesBl<BestExpense, BestExpensesFile> CreateExpensesBl(
            IAccountsRepository accountsRepository,
            IExpensesFilesRepository<BestExpense, BestExpensesFile> expensesFilesRepository,
            IExpensesRepository<BestExpense> expensesRepository, ICategoriesRepository categoriesRepository,
            ICurrenciesRepository currenciesRepository, IImportStatusesRepository importStatusesRepository,
            ITargetsRepository targetsRepository, IPaymentsRepository paymentsRepository)
        {
            return new BestExpensesBl(expensesRepository, importStatusesRepository,
                accountsRepository, expensesFilesRepository, categoriesRepository,
                currenciesRepository,
                targetsRepository, paymentsRepository);
        }
        #endregion
    }
}